<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1" />
    <meta name="renderer" content="webkit" />
    <meta name="format-detection" content="telephone=no" />
    <title>业务管理系统-系统管理-菜单管理</title>
    <meta name="description" content="" />
    <meta name="keywords" content="" />
    <link rel="stylesheet" href="/css/style.css" />
    <link rel="stylesheet" href="/css/iconfont.css" />
    <link rel="stylesheet" href="/css/element-icons.css" />
    <link rel="stylesheet" href="/css/newiconfont.css" />
    <link rel="stylesheet" href="/css/systemiconfont.css" />
    <script src="/js/jquery.min.js"></script>
    <script src="/js/lib.js"></script>
    <!--[if lt IE 9]>
    <script src="https://cdn.bootcss.com/html5shiv/r29/html5.min.js"></script>
    <script src="https://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
    <!--[if IE]>
    <link rel="stylesheet" href="/css/all-ie-only.css" />
    <![endif]-->
</head>
<style>
    *{
        box-sizing:border-box;
    }
    table{
        table-layout:auto !important;
    }
    .table1-body tr {
        height:62px !important;
    }
    .table1-head th{
        height:48px;
    }
    .gd{
        width:126px;
    }
</style>
<body>
<div class="header">
    <a href="javascript:;" class="header-logo">
        <img src="/images/logo.png" alt="" />
    </a>
    <div class="header-nav">
        <ul class="fix">
            <li>
                <a href="javascript:;" class="v1">标识注册系统</a>
            </li>
            <li>
                <a href="javascript:;" class="v1">标识解析系统</a>
            </li>
            <li>
                <a href="javascript:;" class="v1">统一认证系统</a>
            </li>
            <li>
                <a href="javascript:;" class="v1">运行检测系统</a>
            </li>
            <li>
                <a href="javascript:;" class="v1">区块链浏览器</a>
            </li>
            <li>
                <a href="javascript:;" class="v1">链网展示系统</a>
            </li>
        </ul>
    </div>
    <div class="header-user">
        <a href="javascript:;" class="hd">
            <img src="/images/head.png" alt="" />
            <span>管理员</span>
        </a>
        <div class="dropdown-menu">
            <div class="icon-arrow"></div>
            <ul>
                <li class="wrz">
                    <a href="javascript:;" class="con">
                        <span>未认证</span>
                    </a>
                </li>
                <li>
                    <a href="javascript:;" class="con">
                        <span>首页</span>
                    </a>
                </li>
                <li>
                    <a href="javascript:;" class="con">
                        <span>资料编辑</span>
                    </a>
                </li>
                <li>
                    <a href="javascript:;" class="con">
                        <span>我的钱包</span>
                    </a>
                </li>
                <li>
                    <a href="javascript:;" class="con">
                        <span>退出</span>
                    </a>
                </li>
            </ul>
        </div>
    </div>
</div>
<div class="block-contail">
    <!-- 布局-侧边 -->
    <div class="block-left">
        <div class="block-scrollbar">
            <!-- 收起、展开按钮 -->
            <div class="arrow-btn">
                <span class="el-icon-arrow-left"></span>
            </div>
            <!-- 收起、展开按钮 end -->
            <!-- 侧边导航 -->
            <ul class="slide-nav">
                <li>
                    <a href="javascript:;" class="v1">
                        <i class="icon_dn icon newiconfont newicon1-guganlianguanli"></i>
                        <span class="title">骨干链管理</span>
                        <i class="icon-arrow el-icon-arrow-down"></i>
                    </a>
                    <div class="slide-nav-subitem">
                        <ul>
                            <li>
                                <a href="javascript:;" class="v2">
                                    <span class="title">基础配置</span>
                                </a>
                            </li>
                            <li>
                                <a href="javascript:;" class="v2">
                                    <span class="title">节点管理</span>
                                </a>
                            </li>
                            <li>
                                <a href="javascript:;" class="v2">
                                    <span class="title">合约管理</span>
                                </a>
                            </li>
                            <li>
                                <a href="javascript:;" class="v2">
                                    <span class="title">用户管理</span>
                                </a>
                            </li>
                        </ul>
                    </div>
                </li>
                <li>
                    <a href="javascript:;" class="v1">
                        <i class="icon_dn icon newiconfont newicon2-zilianguanli"></i>
                        <span class="title">子链管理</span>
                        <i class="icon-arrow el-icon-arrow-down"></i>
                    </a>
                    <div class="slide-nav-subitem">
                        <ul>
                            <li>
                                <a href="javascript:;" class="v2">
                                    <span class="title">子链申报管理</span>
                                </a>
                            </li>
                            <li>
                                <a href="javascript:;" class="v2">
                                    <span class="title">子链区块头</span>
                                </a>
                            </li>
                            <li>
                                <a href="javascript:;" class="v2">
                                    <span class="title">子链节点管理</span>
                                </a>
                            </li>
                            <li>
                                <a href="javascript:;" class="v2">
                                    <span class="title">子链用户管理</span>
                                </a>
                            </li>
                            <li>
                                <a href="javascript:;" class="v2">
                                    <span class="title">子链合约管理</span>
                                </a>
                            </li>
                        </ul>
                    </div>
                </li>
                <li>
                    <a href="javascript:;" class="v1">
                        <i class="icon_dn icon newiconfont newicon3-renzhengzhongxin"></i>
                        <span class="title">认证中心</span>
                        <i class="icon-arrow el-icon-arrow-down"></i>
                    </a>
                    <div class="slide-nav-subitem">
                        <ul>
                            <li>
                                <a href="/manage/authentication/certificateperson.html" class="v2">
                                    <span class="title">个人认证</span>
                                </a>
                            </li>
                            <li>
                                <a href="/manage/authentication/certificatecorp.html" class="v2">
                                    <span class="title">企业认证</span>
                                </a>
                            </li>
                            <li>
                                <a href="/manage/authentication/certificatenode.html" class="v2">
                                    <span class="title">节点认证</span>
                                </a>
                            </li>
                        </ul>
                    </div>
                </li>
                <li>
                    <a href="javascript:;" class="v1">
                        <i class="icon_dn icon newiconfont newicon6-quanxianguanli"></i>
                        <span class="title">权限管理</span>
                        <i class="icon-arrow el-icon-arrow-down"></i>
                    </a>
                    <div class="slide-nav-subitem">
                        <ul>
                            <li>
                                <a href="/manage/role/index.html" class="v2">
                                    <span class="title">角色管理</span>
                                </a>
                            </li>
                        </ul>
                    </div>
                </li>
                <li>
                    <a href="javascript:;" class="v1">
                        <i class="icon_dn icon iconfont iconicon_setting"></i>
                        <span class="title">系统管理</span>
                        <i class="icon-arrow el-icon-arrow-down"></i>
                    </a>
                    <div class="slide-nav-subitem">
                        <ul>
                            <li>
                                <a href="/manage/system/user.html" class="v2">
                                    <span class="title">用户管理</span>
                                </a>
                            </li>
                            <li>
                                <a href="/manage/system/dictbiz.html" class="v2">
                                    <span class="title">系统字典</span>
                                </a>
                            </li>
                            <li>
                                <a href="/manage/system/dictbiz.html" class="v2">
                                    <span class="title">业务字典</span>
                                </a>
                            </li>
                            <li>
                                <a href="javascript:;" class="v2">
                                    <span class="title">菜单管理</span>
                                </a>
                            </li>
                        </ul>
                    </div>
                </li>
            </ul>
            <!-- 侧边导航 end -->
        </div>
    </div>
    <!-- 布局-侧边 end -->
    <!-- 布局-主内容 -->
    <div class="block-main">
        <div class="block-scrollbar">
            <!-- 主内容 -->
            <div class="block-2">
                <div class="block2-cont">
                    <div class="box-set5">
                        <div class="set-bd2">
                            <div class="set-item col-3">
                                <div class="tit">菜单名称:</div>
                                <div class="con">
                                    <input id="name" type="text" class="input-inner" placeholder="角色名称" />
                                </div>
                            </div>
                            <div class="set-item col-3">
                                <div class="tit">菜单编号:</div>
                                <div class="con">
                                    <input id="code" type="text" class="input-inner" placeholder="菜单编号" />
                                </div>
                            </div>
                            <div class="set-item col-3">
                                <div class="tit">菜单别名:</div>
                                <div class="con">
                                    <input id="alias" type="text" class="input-inner" placeholder="菜单别名" />
                                </div>
                            </div>
                        </div>
                        <div class="set-bt set-bt_r">
                            <a id="search" href="javascript:;" class="primary-btn">
                                <i class="icon_dn el-icon-search"></i>
                                <span>搜索</span>
                            </a>
                            <a id="reset" href="javascript:;">
                                <i class="icon_dn el-icon-delete"></i>
                                <span>清空</span>
                            </a>
                        </div>
                    </div>
                    <div class="box-set6">
                        <div class="set-bt3">
                            <div id="refresh" class="item">
                                <a href="javascript:;" class="btn">
                                    <i class="el-icon-refresh"></i>
                                </a>
                                <div class="mask">
                                    <div class="popper__arrow"></div>
                                    <div class="tit">刷新</div>
                                </div>
                            </div>
                            <div class="item myfancy" data-href="#pop-xianyin">
                                <a href="javascript:;" class="btn">
                                    <i class="el-icon-s-operation"></i>
                                </a>
                                <div class="mask">
                                    <div class="popper__arrow"></div>
                                    <div class="tit">显隐</div>
                                </div>
                            </div>
                            <div class="item js_search_show_hide">
                                <a href="javascript:;" class="btn">
                                    <i class="el-icon-search"></i>
                                </a>
                                <div class="mask">
                                    <div class="popper__arrow"></div>
                                    <div class="tit">搜索</div>
                                </div>
                            </div>
                        </div>
                        <div class="set-bt">
                            <a href="javascript:;" class="primary-btn myfancy" data-href="#pop-caidanguanlixinzeng">
                                <i class="icon_dn el-icon-plus"></i>
                                <span>新 增</span>
                            </a>
                            <a id="batch_delete" href="javascript:;" class="del-btn myfancy" data-href="#pop-shanchu3">
                                <i class="icon_dn el-icon-delete"></i>
                                <span>删 除</span>
                            </a>
                        </div>
                    </div>
                    <div class="data-content_2 table-scroll-x js-custom-radio-checkbox" data-modulename="formrel01">
                        <div class="table1-head table-6">
                            <table>
                                <colgroup>
                                    <col width="50">
                                    <col width="50">
                                    <col width="NaN">
                                    <col width="NaN">
                                    <col width="NaN">
                                    <col width="NaN">
                                    <col width="NaN">
                                    <col width="NaN">
                                    <col width="300">
                                </colgroup>
                                <thead>
                                <tr>
                                    <th class="table1_hidden">
                                        <div class="checkbox-item">
                                            <label>
                                                <input type="checkbox" name="1" />
                                            </label>
                                        </div>
                                    </th>
                                    <th class="table1_center table1_hidden">#</th>
                                    <th class='gd'>菜单名称</th>
                                    <th class='gd'>路由地址</th>
                                    <th class='gd'>菜单图标</th>
                                    <th class='gd'>菜单编号</th>
                                    <th class='gd'>菜单别名</th>
                                    <th class='gd'>菜单排序</th>
                                    <th class="table1_hidden table1_center">操作</th>
                                </tr>
                                </thead>
                            </table>
                        </div>
                        <div class="table1-body table-6">
                            <table>
                                <colgroup>
                                    <col width="50">
                                    <col width="50">
                                    <col width="NaN">
                                    <col width="NaN">
                                    <col width="NaN">
                                    <col width="NaN">
                                    <col width="NaN">
                                    <col width="NaN">
                                    <col width="300">
                                </colgroup>
                                <tbody id="table"></tbody>
                            </table>
                        </div>
                        <div class="table1-left_fixed" style="width: 100px;">
                            <div class="table1-head_fixed table-6">
                                <table>
                                    <colgroup>
                                        <col width="50">
                                        <col width="50">
                                        <col width="NaN">
                                        <col width="NaN">
                                        <col width="NaN">
                                        <col width="NaN">
                                        <col width="NaN">
                                        <col width="NaN">
                                        <col width="300">
                                    </colgroup>
                                    <thead>
                                    <tr>
                                        <th>
                                            <div class="checkbox-item">
                                                <label>
                                                    <input type="checkbox" name="allCheckbox" onclick="selectAll()" />
                                                </label>
                                            </div>
                                        </th>
                                        <th class="table1_center">#</th>
                                        <th class="table1_hidden">菜单名称</th>
                                        <th class="table1_hidden">路由地址</th>
                                        <th class="table1_hidden">菜单图标</th>
                                        <th class="table1_hidden">菜单编号</th>
                                        <th class="table1_hidden">菜单别名</th>
                                        <th class="table1_hidden">菜单排序</th>
                                        <th class="table1_hidden table1_center">操作</th>
                                    </tr>
                                    </thead>
                                </table>
                            </div>
                            <div class="table1-body_fixed table-6">
                                <table>
                                    <colgroup>
                                        <col width="50">
                                        <col width="50">
                                        <col width="NaN">
                                        <col width="NaN">
                                        <col width="NaN">
                                        <col width="NaN">
                                        <col width="NaN">
                                        <col width="NaN">
                                        <col width="300">
                                    </colgroup>
                                    <tbody id="table_left"></tbody>
                                </table>
                            </div>
                        </div>
                        <div class="table1-right_fixed" style="width: 300px;">
                            <div class="table1-head_fixed table-6">
                                <table>
                                    <colgroup>
                                        <col width="50">
                                        <col width="50">
                                        <col width="NaN">
                                        <col width="NaN">
                                        <col width="NaN">
                                        <col width="NaN">
                                        <col width="NaN">
                                        <col width="NaN">
                                        <col width="300">
                                    </colgroup>
                                    <thead>
                                    <tr>
                                        <th class="table1_hidden">
                                            <div class="checkbox-item">
                                                <label>
                                                    <input type="checkbox" name="1"/>
                                                </label>
                                            </div>
                                        </th>
                                        <th class="table1_center table1_hidden">#</th>
                                        <th class="table1_hidden">菜单名称</th>
                                        <th class="table1_hidden">路由地址</th>
                                        <th class="table1_hidden">菜单图标</th>
                                        <th class="table1_hidden">菜单编号</th>
                                        <th class="table1_hidden">菜单别名</th>
                                        <th class="table1_hidden">菜单排序</th>
                                        <th class="table1_center">操作</th>
                                    </tr>
                                    </thead>
                                </table>
                            </div>
                            <div class="table1-body_fixed table-6">
                                <table>
                                    <colgroup>
                                        <col width="50">
                                        <col width="50">
                                        <col width="NaN">
                                        <col width="NaN">
                                        <col width="NaN">
                                        <col width="NaN">
                                        <col width="NaN">
                                        <col width="NaN">
                                        <col width="300">
                                    </colgroup>
                                    <tbody id="table_right"></tbody>
                                </table>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <!-- 菜单管理-新增 -->
            <div class="m-pop" id="pop-caidanguanlixinzeng">
                <div class="win-pop4">
                    <div class="win1-hd">
                        <div class="win1-btn">
                            <a href="javascript:;" class="fullscreen js-fullscreen">
                                <i class="el-icon-full-screen"></i>
                            </a>
                            <a href="javascript:;" class="close js-close">
                                <i class="el-icon-close"></i>
                            </a>
                        </div>
                        <h3>新 增</h3>
                    </div>
                    <div class="win3-bd">
                        <div class="form-1 form-5 js-custom-radio-checkbox" data-modulename="formrel01">
                            <form action="">
                                <div class="form-item col-2">
                                    <div class="tit"><span>*</span>菜单名称:</div>
                                    <div class="con">
                                        <input id="name_add" type="text" class="input-inner" placeholder="请输入 菜单名称" value="">
                                    </div>
                                </div>
                                <div class="form-item col-2">
                                    <div class="tit">路由地址:</div>
                                    <div class="con">
                                        <input id="path_add" type="text" class="input-inner" placeholder="请输入 路由地址" value="">
                                    </div>
                                </div>
                                <div class="form-item col-2">
                                    <div class="tit">上级菜单:</div>
                                    <div class="con">
                                        <div class="dropmenurel01 js-dropmenu" data-modulename="dropmenurel01">
                                            <input id="parentId_add" type="hidden" value="0">
                                            <div class="dropmenurel01-tit">
                                                <span id="parentName_add">选择上级菜单</span>
                                                <i class="el-input__icon el-icon-arrow-up"></i>
                                            </div>
                                            <div class="dropmenurel01-options js-dropmenu-options">
                                                <i class="popper__arrow"></i>
                                                <ul>
                                                    <div class="input">
                                                        <input type="text" class="input-inner" placeholder="输入关键字进行过滤">
                                                    </div>
                                                    <div class="tree-ul js_tree js-custom-radio-checkbox" data-modulename="formrel01">
                                                        <ul id="parent_add"></ul>
                                                    </div>
                                                </ul>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="form-item col-2">
                                    <div class="tit"><span>*</span>菜单图标:</div>
                                    <div class="con">
                                        <div class="caidan-icon myfancy" onclick="setIcon('add')" data-href="#pop-caidantubiao">
                                            <div class="icon">
                                                <i id="source_icon_add"></i>
                                            </div>
                                            <input id="source_add" type="text" class="input-inner" placeholder="请输入 菜单图标" value="" />
                                        </div>
                                    </div>
                                </div>
                                <div class="form-item col-2">
                                    <div class="tit"><span>*</span>菜单编号:</div>
                                    <div class="con">
                                        <input id="code_add" type="text" class="input-inner" placeholder="请输入 菜单编号" value="">
                                    </div>
                                </div>
                                <div class="form-item col-2">
                                    <div class="tit"><span>*</span>菜单类型:</div>
                                    <div class="con">
                                        <ul class="radio-group2">
                                            <li>
                                                <label>
                                                    <input type="radio" name="category_add" value="1" checked />
                                                    <i class="icon"></i>
                                                    <span>菜单</span>
                                                </label>
                                            </li>
                                            <li>
                                                <label>
                                                    <input type="radio" name="category_add" value="2"/>
                                                    <i class="icon"></i>
                                                    <span>按钮</span>
                                                </label>
                                            </li>
                                        </ul>
                                    </div>
                                </div>
                                <div class="form-item col-2">
                                    <div class="tit"><span>*</span>菜单别名:</div>
                                    <div class="con">
                                        <input id="alias_add" type="text" class="input-inner" placeholder="请输入 菜单别名" value="">
                                    </div>
                                </div>
                                <div class="form-item col-2">
                                    <div class="tit"><span>*</span>菜单排序:</div>
                                    <div class="con">
                                        <div class="asc">
                                            <i class="el-icon-arrow-up"></i>
                                        </div>
                                        <div class="desc">
                                            <i class="el-icon-arrow-down"></i>
                                        </div>
                                        <input id="sort_add" type="text" class="input-inner" placeholder="" value="">
                                    </div>
                                </div>
                                <div class="form-item col-1">
                                    <div class="tit">菜单备注:</div>
                                    <div class="con">
                                        <textarea id="remark_add" class="textarea-inner" placeholder="请输入 菜单备注"></textarea>
                                    </div>
                                </div>
                            </form>
                        </div>
                    </div>
                    <div class="win-bt2">
                        <a href="javascript:;" class="primary-btn" onclick="submitForm('add')"><span><i class="icon_dn el-icon-circle-plus-outline"></i>保存</span></a>
                        <a href="javascript:;" class="js-btn"><span><i class="icon_dn el-icon-circle-close"></i>取消</span></a>
                    </div>
                </div>
            </div>
            <!-- 菜单管理-新增 end -->
            <!-- 菜单管理-编辑 -->
            <div class="m-pop" id="pop-caidanguanlibianji">
                <div class="win-pop4">
                    <div class="win1-hd">
                        <div class="win1-btn">
                            <a href="javascript:;" class="fullscreen js-fullscreen">
                                <i class="el-icon-full-screen"></i>
                            </a>
                            <a href="javascript:;" class="close js-close">
                                <i class="el-icon-close"></i>
                            </a>
                        </div>
                        <h3>编辑</h3>
                    </div>
                    <div class="win3-bd">
                        <div class="form-1 form-5 js-custom-radio-checkbox" data-modulename="formrel01">
                            <form action="">
                                <div class="form-item col-2">
                                    <div class="tit"><span>*</span>菜单名称:</div>
                                    <div class="con">
                                        <input id="name_edit" type="text" class="input-inner" placeholder="请输入 菜单名称" value="">
                                    </div>
                                </div>
                                <div class="form-item col-2">
                                    <div class="tit">路由地址:</div>
                                    <div class="con">
                                        <input id="path_edit" type="text" class="input-inner" placeholder="请输入 路由地址" value="">
                                    </div>
                                </div>
                                <div class="form-item col-2">
                                    <div class="tit">上级菜单:</div>
                                    <div class="con">
                                        <div class="dropmenurel01 js-dropmenu" data-modulename="dropmenurel01">
                                            <input id="parentId_edit" type="hidden" value="0">
                                            <div class="dropmenurel01-tit">
                                                <span id="parentName_edit">选择上级菜单</span>
                                                <i class="el-input__icon el-icon-arrow-up"></i>
                                            </div>
                                            <div class="dropmenurel01-options js-dropmenu-options">
                                                <i class="popper__arrow"></i>
                                                <ul>
                                                    <div class="input">
                                                        <input type="text" class="input-inner" placeholder="输入关键字进行过滤">
                                                    </div>
                                                    <div class="tree-ul js_tree js-custom-radio-checkbox" data-modulename="formrel01">
                                                        <ul id="parent_edit"></ul>
                                                    </div>
                                                </ul>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="form-item col-2">
                                    <div class="tit"><span>*</span>菜单图标:</div>
                                    <div class="con">
                                        <div class="caidan-icon myfancy" onclick="setIcon('edit')" data-href="#pop-caidantubiao">
                                            <div class="icon">
                                                <i id="source_icon_edit"></i>                                                </div>
                                            <input id="source_edit" type="text" class="input-inner" placeholder="请输入 菜单图标" value="" />
                                        </div>
                                    </div>
                                </div>
                                <div class="form-item col-2">
                                    <div class="tit"><span>*</span>菜单编号:</div>
                                    <div class="con">
                                        <input id="code_edit" type="text" class="input-inner" placeholder="请输入 菜单编号" value="">
                                    </div>
                                </div>
                                <div class="form-item col-2">
                                    <div class="tit"><span>*</span>菜单类型:</div>
                                    <div class="con">
                                        <ul class="radio-group2">
                                            <li>
                                                <label>
                                                    <input type="radio" name="category_edit" value="1" checked />
                                                    <i class="icon"></i>
                                                    <span>菜单</span>
                                                </label>
                                            </li>
                                            <li>
                                                <label>
                                                    <input type="radio" name="category_edit" value="2"/>
                                                    <i class="icon"></i>
                                                    <span>按钮</span>
                                                </label>
                                            </li>
                                        </ul>
                                    </div>
                                </div>
                                <div class="form-item col-2">
                                    <div class="tit"><span>*</span>菜单别名:</div>
                                    <div class="con">
                                        <input id="alias_edit" type="text" class="input-inner" placeholder="请输入 菜单别名" value="">
                                    </div>
                                </div>
                                <div class="form-item col-2">
                                    <div class="tit"><span>*</span>菜单排序:</div>
                                    <div class="con">
                                        <div class="asc">
                                            <i class="el-icon-arrow-up"></i>
                                        </div>
                                        <div class="desc">
                                            <i class="el-icon-arrow-down"></i>
                                        </div>
                                        <input id="sort_edit" type="text" class="input-inner" placeholder="" value="">
                                    </div>
                                </div>
                                <div class="form-item col-1">
                                    <div class="tit">菜单备注:</div>
                                    <div class="con">
                                        <textarea id="remark_edit" class="textarea-inner" placeholder="请输入 菜单备注"></textarea>
                                    </div>
                                </div>
                            </form>
                        </div>
                    </div>
                    <div class="win-bt2">
                        <a href="javascript:;" class="primary-btn" onclick="submitForm('edit')"><span><i class="icon_dn el-icon-circle-plus-outline"></i>保存</span></a>
                        <a href="javascript:;" class="js-btn"><span><i class="icon_dn el-icon-circle-close"></i>取消</span></a>
                    </div>
                </div>
            </div>
            <!-- 菜单管理-编辑 end -->
            <!-- 菜单管理-查看 -->
            <div class="m-pop" id="pop-caidanguanlichakan">
                <div class="win-pop4">
                    <div class="win1-hd">
                        <div class="win1-btn">
                            <a href="javascript:;" class="fullscreen js-fullscreen">
                                <i class="el-icon-full-screen"></i>
                            </a>
                            <a href="javascript:;" class="close js-close">
                                <i class="el-icon-close"></i>
                            </a>
                        </div>
                        <h3>查看</h3>
                    </div>
                    <div class="win3-bd">
                        <div class="form-1 form-5 js-custom-radio-checkbox" data-modulename="formrel01">
                            <form action="">
                                <div class="form-item col-2">
                                    <div class="tit"><span>*</span>菜单名称:</div>
                                    <div class="con">
                                        <input id="name_view" type="text" disabled="disabled" autocomplete="off" class="input-inner" placeholder="请输入 菜单名称" value="">
                                    </div>
                                </div>
                                <div class="form-item col-2">
                                    <div class="tit">路由地址:</div>
                                    <div class="con">
                                        <input id="path_view" type="text" disabled="disabled" autocomplete="off" class="input-inner" placeholder="请输入 路由地址" value="">
                                    </div>
                                </div>
                                <div class="form-item col-2">
                                    <div class="tit">上级菜单:</div>
                                    <div class="con">
                                        <div class="dropmenurel01 dropmenurel01_disabled js-dropmenu" data-modulename="dropmenurel01">
                                            <input id="parentId_view" type="hidden" value="0">
                                            <div class="dropmenurel01-tit">
                                                <span id="parentName_view">选择上级菜单</span>
                                                <i class="el-input__icon el-icon-arrow-up"></i>
                                            </div>
                                            <div class="dropmenurel01-options js-dropmenu-options">
                                                <i class="popper__arrow"></i>
                                                <ul>
                                                    <div class="input">
                                                        <input type="text" class="input-inner" placeholder="输入关键字进行过滤">
                                                    </div>
                                                    <div class="tree-ul js_tree js-custom-radio-checkbox" data-modulename="formrel01">
                                                        <ul id="parent_view"> </ul>
                                                    </div>
                                                </ul>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="form-item col-2">
                                    <div class="tit"><span>*</span>菜单图标:</div>
                                    <div class="con">
                                        <div class="caidan-icon">
                                            <div class="icon">
                                                <i id="source_icon_view"></i>                                                </div>
                                            <input id="source_view" type="text" disabled="disabled" autocomplete="off" class="input-inner" placeholder="请输入 菜单图标" value="" />
                                        </div>
                                    </div>
                                </div>
                                <div class="form-item col-2">
                                    <div class="tit"><span>*</span>菜单编号:</div>
                                    <div class="con">
                                        <input id="code_view" type="text" disabled="disabled" autocomplete="off" class="input-inner" placeholder="请输入 菜单编号" value="">
                                    </div>
                                </div>
                                <div class="form-item col-2">
                                    <div class="tit"><span>*</span>菜单类型:</div>
                                    <div class="con">
                                        <ul class="radio-group2">
                                            <li>
                                                <label>
                                                    <input type="radio" disabled="disabled" autocomplete="off" name="category_view" value="1" checked />
                                                    <i class="icon"></i>
                                                    <span>菜单</span>
                                                </label>
                                            </li>
                                            <li>
                                                <label>
                                                    <input type="radio" disabled="disabled" autocomplete="off" name="category_view" value="2" />
                                                    <i class="icon"></i>
                                                    <span>按钮</span>
                                                </label>
                                            </li>
                                        </ul>
                                    </div>
                                </div>
                                <div class="form-item col-2">
                                    <div class="tit"><span>*</span>菜单别名:</div>
                                    <div class="con">
                                        <input id="alias_view" type="text" disabled="disabled" autocomplete="off" class="input-inner" placeholder="请输入 菜单别名" value="">
                                    </div>
                                </div>
                                <div class="form-item col-2">
                                    <div class="tit"><span>*</span>菜单排序:</div>
                                    <div class="con">
                                        <div class="asc">
                                            <i class="el-icon-arrow-up"></i>
                                        </div>
                                        <div class="desc">
                                            <i class="el-icon-arrow-down"></i>
                                        </div>
                                        <input id="sort_view" type="text" disabled="disabled" autocomplete="off" class="input-inner" placeholder="" value="">
                                    </div>
                                </div>
                                <div class="form-item col-1">
                                    <div class="tit">菜单备注:</div>
                                    <div class="con">
                                        <textarea id="remark_view" disabled="disabled" autocomplete="off" class="textarea-inner" placeholder="请输入 菜单备注"></textarea>
                                    </div>
                                </div>
                            </form>
                        </div>
                    </div>
                </div>
            </div>
            <!-- 菜单管理-查看 end -->
            <!-- 菜单管理-新增子项 -->
            <div class="m-pop" id="pop-caidanguanlixinzengzixiang">
                <div class="win-pop4">
                    <div class="win1-hd">
                        <div class="win1-btn">
                            <a href="javascript:;" class="fullscreen js-fullscreen">
                                <i class="el-icon-full-screen"></i>
                            </a>
                            <a href="javascript:;" class="close js-close">
                                <i class="el-icon-close"></i>
                            </a>
                        </div>
                        <h3>新 增</h3>
                    </div>
                    <div class="win3-bd">
                        <div class="form-1 form-5 js-custom-radio-checkbox" data-modulename="formrel01">
                            <form action="">
                                <div class="form-item col-2">
                                    <div class="tit"><span>*</span>菜单名称:</div>
                                    <div class="con">
                                        <input id="name_sub" type="text" class="input-inner" placeholder="请输入 菜单名称" value="">
                                    </div>
                                </div>
                                <div class="form-item col-2">
                                    <div class="tit"><span>*</span>路由地址:</div>
                                    <div class="con">
                                        <input id="path_sub" type="text" class="input-inner" placeholder="请输入 路由地址" value="">
                                    </div>
                                </div>
                                <div class="form-item col-2">
                                    <div class="tit">上级菜单:</div>
                                    <div class="con">
                                        <div class="dropmenurel01 dropmenurel01_disabled js-dropmenu" data-modulename="dropmenurel01">
                                            <input id="parentId_sub" type="hidden" value="0">
                                            <div class="dropmenurel01-tit">
                                                <span id="parentName_sub">选择上级菜单</span>
                                                <i class="el-input__icon el-icon-arrow-up"></i>
                                            </div>
                                            <div class="dropmenurel01-options js-dropmenu-options">
                                                <i class="popper__arrow"></i>
                                                <ul>
                                                    <div class="input">
                                                        <input type="text" class="input-inner" placeholder="输入关键字进行过滤">
                                                    </div>
                                                    <div class="tree-ul js_tree js-custom-radio-checkbox" data-modulename="formrel01">
                                                        <ul id="parent_sub"></ul>
                                                    </div>
                                                </ul>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="form-item col-2">
                                    <div class="tit"><span>*</span>菜单图标:</div>
                                    <div class="con">
                                        <div class="caidan-icon myfancy" onclick="setIcon('sub')" data-href="#pop-caidantubiao">
                                            <div class="icon">
                                                <i id="source_icon_sub"></i>                                                </div>
                                            <input id="source_sub" type="text" class="input-inner" placeholder="请输入 菜单图标" value="" />
                                        </div>
                                    </div>
                                </div>
                                <div class="form-item col-2">
                                    <div class="tit"><span>*</span>菜单编号:</div>
                                    <div class="con">
                                        <input id="code_sub" type="text" class="input-inner" placeholder="请输入 菜单编号" value="">
                                    </div>
                                </div>
                                <div class="form-item col-2">
                                    <div class="tit"><span>*</span>菜单类型:</div>
                                    <div class="con">
                                        <ul class="radio-group2">
                                            <li>
                                                <label>
                                                    <input type="radio" name="category_sub" value="1" checked />
                                                    <i class="icon"></i>
                                                    <span>菜单</span>
                                                </label>
                                            </li>
                                            <li>
                                                <label>
                                                    <input type="radio" name="category_sub" value="2" />
                                                    <i class="icon"></i>
                                                    <span>按钮</span>
                                                </label>
                                            </li>
                                        </ul>
                                    </div>
                                </div>
                                <div class="form-item col-2">
                                    <div class="tit"><span>*</span>菜单别名:</div>
                                    <div class="con">
                                        <input id="alias_sub" type="text" class="input-inner" placeholder="请输入 菜单别名" value="">
                                    </div>
                                </div>
                                <div class="form-item col-2">
                                    <div class="tit"><span>*</span>菜单排序:</div>
                                    <div class="con">
                                        <div class="asc">
                                            <i class="el-icon-arrow-up"></i>
                                        </div>
                                        <div class="desc">
                                            <i class="el-icon-arrow-down"></i>
                                        </div>
                                        <input id="sort_sub" type="text" class="input-inner" placeholder="" value="">
                                    </div>
                                </div>
                                <div class="form-item col-1">
                                    <div class="tit">菜单备注:</div>
                                    <div class="con">
                                        <textarea id="remark_sub" class="textarea-inner" placeholder="请输入 菜单备注"></textarea>
                                    </div>
                                </div>
                            </form>
                        </div>
                    </div>
                    <div class="win-bt2">
                        <a href="javascript:;" class="primary-btn" onclick="submitForm('sub')"><span><i class="icon_dn el-icon-circle-plus-outline"></i>保存</span></a>
                        <a href="javascript:;" class="js-btn"><span><i class="icon_dn el-icon-circle-close"></i>取消</span></a>
                    </div>
                </div>
            </div>
            <!-- 菜单管理-新增子项 end -->
            <!-- 菜单图标 -->
            <div class="m-pop" id="pop-caidantubiao">
                <div class="win-pop4">
                    <div class="win1-hd">
                        <div class="win1-btn">
                            <a href="javascript:;" class="close js-close">
                                <i class="el-icon-close"></i>
                            </a>
                        </div>
                        <h3>请输入 菜单图标</h3>
                    </div>
                    <div class="win3-bd">
                        <div class="tabrel03 js-tabs js-anim" data-modulename="tabrel03">
                            <ul class="tabrel03-tit">
                                <li class="tabrel03-item tabrel03-item__on"><span class="subitem">通用图标</span></li>
                                <li class="tabrel03-item"><span class="subitem">系统图标</span></li>
                            </ul>
                            <div class="tabrel03-desc">
                                <div class="tabrel03-item tabrel03-item__on">
                                    <ul class="icons-ul">
                                        <li>
                                            <i class="iconfont iconicon_roundadd"></i>
                                        <li>
                                            <i class="iconfont iconicon_compile"></i>
                                        </li>
                                        <li>
                                            <i class="iconfont iconicon_glass"></i>
                                        </li>
                                        <li>
                                            <i class="iconfont iconicon_roundclose"></i>
                                        </li>
                                        <li>
                                            <i class="iconfont iconicon_roundreduce"></i>
                                        </li>
                                        <li>
                                            <i class="iconfont iconicon_delete"></i>
                                        </li>
                                        <li>
                                            <i class="iconfont iconicon_shakehands"></i>
                                        </li>
                                        <li>
                                            <i class="iconfont iconicon_task_done"></i>
                                        </li>
                                        <li>
                                            <i class="iconfont iconicon_voipphone"></i>
                                        </li>
                                        <li>
                                            <i class="iconfont iconicon_safety"></i>
                                        </li>
                                        <li>
                                            <i class="iconfont iconicon_work"></i>
                                        </li>
                                        <li>
                                            <i class="iconfont iconicon_study"></i>
                                        </li>
                                        <li>
                                            <i class="iconfont iconicon_task"></i>
                                        </li>
                                        <li>
                                            <i class="iconfont iconicon_subordinate"></i>
                                        </li>
                                        <li>
                                            <i class="iconfont iconicon_star"></i>
                                        </li>
                                        <li>
                                            <i class="iconfont iconicon_setting"></i>
                                        </li>
                                        <li>
                                            <i class="iconfont iconicon_sms"></i>
                                        </li>
                                        <li>
                                            <i class="iconfont iconicon_share"></i>
                                        </li>
                                        <li>
                                            <i class="iconfont iconicon_secret"></i>
                                        </li>
                                        <li>
                                            <i class="iconfont iconicon_scan_namecard"></i>
                                        </li>
                                        <li>
                                            <i class="iconfont iconicon_principal"></i>
                                        </li>
                                        <li>
                                            <i class="iconfont iconicon_group"></i>
                                        </li>
                                        <li>
                                            <i class="iconfont iconicon_send"></i>
                                        </li>
                                        <li>
                                            <i class="iconfont iconicon_scan"></i>
                                        </li>
                                        <li>
                                            <i class="iconfont iconicon_search"></i>
                                        </li>
                                        <li>
                                            <i class="iconfont iconicon_refresh"></i>
                                        </li>
                                        <li>
                                            <i class="iconfont iconicon_savememo"></i>
                                        </li>
                                        <li>
                                            <i class="iconfont iconicon_QRcode"></i>
                                        </li>
                                        <li>
                                            <i class="iconfont iconicon_im_keyboard"></i>
                                        </li>
                                        <li>
                                            <i class="iconfont iconicon_redpacket"></i>
                                        </li>
                                        <li>
                                            <i class="iconfont iconicon_photo"></i>
                                        </li>
                                        <li>
                                            <i class="iconfont iconicon_qq"></i>
                                        </li>
                                        <li>
                                            <i class="iconfont iconicon_wechat"></i>
                                        </li>
                                        <li>
                                            <i class="iconfont iconicon_phone"></i>
                                        </li>
                                        <li>
                                            <i class="iconfont iconicon_namecard"></i>
                                        </li>
                                        <li>
                                            <i class="iconfont iconicon_notice"></i>
                                        </li>
                                        <li>
                                            <i class="iconfont iconicon_next_arrow"></i>
                                        </li>
                                        <li>
                                            <i class="iconfont iconicon_left"></i>
                                        </li>
                                        <li>
                                            <i class="iconfont iconicon_more"></i>
                                        </li>
                                        <li>
                                            <i class="iconfont iconicon_details"></i>
                                        </li>
                                        <li>
                                            <i class="iconfont iconicon_message"></i>
                                        </li>
                                        <li>
                                            <i class="iconfont iconicon_mobilephone"></i>
                                        </li>
                                        <li>
                                            <i class="iconfont iconicon_im_voice"></i>
                                        </li>
                                        <li>
                                            <i class="iconfont iconicon_GPS"></i>
                                        </li>
                                        <li>
                                            <i class="iconfont iconicon_ding"></i>
                                        </li>
                                        <li>
                                            <i class="iconfont iconicon_exchange"></i>
                                        </li>
                                        <li>
                                            <i class="iconfont iconicon_cspace"></i>
                                        </li>
                                        <li>
                                            <i class="iconfont iconicon_doc"></i>
                                        </li>
                                        <li>
                                            <i class="iconfont iconicon_dispose"></i>
                                        </li>
                                        <li>
                                            <i class="iconfont iconicon_discovery"></i>
                                        </li>
                                        <li>
                                            <i class="iconfont iconicon_community_line"></i>
                                        </li>
                                        <li>
                                            <i class="iconfont iconicon_cloud_history"></i>
                                        </li>
                                        <li>
                                            <i class="iconfont iconicon_coinpurse_line"></i>
                                        </li>
                                        <li>
                                            <i class="iconfont iconicon_airplay"></i>
                                        </li>
                                        <li>
                                            <i class="iconfont iconicon_at"></i>
                                        </li>
                                        <li>
                                            <i class="iconfont iconicon_addressbook"></i>
                                        </li>
                                        <li>
                                            <i class="iconfont iconicon_boss"></i>
                                        </li>
                                        <li>
                                            <i class="iconfont iconicon_addperson"></i>
                                        </li>
                                        <li>
                                            <i class="iconfont iconicon_affiliations_li"></i>
                                        </li>
                                        <li>
                                            <i class="iconfont iconicon_addmessage"></i>
                                        </li>
                                        <li>
                                            <i class="iconfont iconicon_addresslist"></i>
                                        </li>
                                        <li>
                                            <i class="iconfont iconicon_add"></i>
                                        </li>
                                        <li>
                                            <i class="iconfont icongithub"></i>
                                        </li>
                                        <li>
                                            <i class="iconfont icongitee2"></i>
                                        </li>
                                        <li>
                                            <i class="newiconfont newicon1-guganlianguanli"></i>
                                        </li>
                                        <li>
                                            <i class="newiconfont newicon6-quanxianguanli"></i>
                                        </li>
                                        <li>
                                            <i class="newiconfont newicon3-renzhengzhongxin"></i>
                                        </li>
                                        <li>
                                            <i class="newiconfont newicon7-xitongguanli"></i>
                                        </li>
                                        <li>
                                            <i class="newiconfont newicon2-zilianguanli"></i>
                                        </li>
                                        <li>
                                            <i class="newiconfont newicon4-rizhijiankong"></i>
                                        </li>
                                        <li>
                                            <i class="newiconfont newicon5-ziyuanguanli"></i>
                                        </li>
                                    </ul>
                                </div>
                                <div class="tabrel03-item">
                                    <ul class="icons-ul">
                                        <li>
                                            <i class="iconfont icon-zhongyingwen"></i>
                                        </li>
                                        <li>
                                            <i class="iconfont icon-caidan"></i>
                                        </li>
                                        <li>
                                            <i class="iconfont icon-rizhi1"></i>
                                        </li>
                                        <li>
                                            <i class="iconfont icon-zhuti"></i>
                                        </li>
                                        <li>
                                            <i class="iconfont icon-suoping"></i>
                                        </li>
                                        <li>
                                            <i class="iconfont icon-bug"></i>
                                        </li>
                                        <li>
                                            <i class="iconfont icon-qq1"></i>
                                        </li>
                                        <li>
                                            <i class="iconfont icon-weixin1"></i>
                                        </li>
                                        <li>
                                            <i class="iconfont icon-shouji"></i>
                                        </li>
                                        <li>
                                            <i class="iconfont icon-mima"></i>
                                        </li>
                                        <li>
                                            <i class="iconfont icon-yonghu"></i>
                                        </li>
                                        <li>
                                            <i class="iconfont icon-yanzhengma"></i>
                                        </li>
                                        <li>
                                            <i class="iconfont icon-canshu"></i>
                                        </li>
                                        <li>
                                            <i class="iconfont icon-dongtai"></i>
                                        </li>
                                        <li>
                                            <i class="iconfont icon-iconset0265"></i>
                                        </li>
                                        <li>
                                            <i class="iconfont icon-shujuzhanshi2"></i>
                                        </li>
                                        <li>
                                            <i class="iconfont icon-tuichuquanping"></i>
                                        </li>
                                        <li>
                                            <i class="iconfont icon-rizhi"></i>
                                        </li>
                                        <li>
                                            <i class="iconfont icon-cuowutishitubiao"></i>
                                        </li>
                                        <li>
                                            <i class="iconfont icon-debug"></i>
                                        </li>
                                        <li>
                                            <i class="iconfont icon-iconset0216"></i>
                                        </li>
                                        <li>
                                            <i class="iconfont icon-quanxian"></i>
                                        </li>
                                        <li>
                                            <i class="iconfont icon-quanxian"></i>
                                        </li>
                                        <li>
                                            <i class="iconfont icon-shuaxin"></i>
                                        </li>
                                        <li>
                                            <i class="iconfont icon-bofangqi-suoping"></i>
                                        </li>
                                        <li>
                                            <i class="iconfont icon-quanping"></i>
                                        </li>
                                        <li>
                                            <i class="iconfont icon-navicon"></i>
                                        </li>
                                        <li>
                                            <i class="iconfont icon-biaodan"></i>
                                        </li>
                                        <li>
                                            <i class="iconfont icon-liuliangyunpingtaitubiao08"></i>
                                        </li>
                                        <li>
                                            <i class="iconfont icon-caidanguanli"></i>
                                        </li>
                                        <li>
                                            <i class="iconfont icon-cuowu"></i>
                                        </li>
                                        <li>
                                            <i class="iconfont icon-wxbgongju"></i>
                                        </li>
                                        <li>
                                            <i class="iconfont icon-tuichu"></i>
                                        </li>
                                        <li>
                                            <i class="iconfont icon-daohanglanmoshi02"></i>
                                        </li>
                                        <li>
                                            <i class="iconfont icon-changyonglogo27"></i>
                                        </li>
                                        <li>
                                            <i class="iconfont icon-biaoge"></i>
                                        </li>
                                        <li>
                                            <i class="iconfont icon-baidu1"></i>
                                        </li>
                                        <li>
                                            <i class="iconfont icon-tubiao"></i>
                                        </li>
                                        <li>
                                            <i class="iconfont icon-souhu"></i>
                                        </li>
                                        <li>
                                            <i class="iconfont icon-msnui-360"></i>
                                        </li>
                                        <li>
                                            <i class="iconfont icon-iframe"></i>
                                        </li>
                                        <li>
                                            <i class="iconfont icon-huanyingye"></i>
                                        </li>
                                    </ul>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <!-- 菜单图标 end -->
            <!-- 主内容 end -->
        </div>
    </div>
    <!-- 布局-主内容 end -->
</div>
<div class="pop-bg"></div>
<!-- 合约禁用弹窗 -->
<div class="m-pop" id="pop-heyuejinyong">
    <div class="win-pop1">
        <div class="win1-hd">
            <div class="win1-btn">
                <a href="javascript:;" class="close js-close">
                    <i class="el-icon-close"></i>
                </a>
            </div>
            <h3>合约禁用</h3>
        </div>
        <div class="win1-bd">
            <div class="win1-item">
                <div class="tit">禁用原因<span>*</span></div>
                <div class="con">
                    <input type="text" class="input-inner" />
                </div>
            </div>
        </div>
        <div class="win-bt">
            <a href="javascript:;" class="js-btn"><span>取 消</span></a>
            <a href="javascript:;" class="primary-btn"><span>确 定</span></a>
        </div>
    </div>
</div>
<!-- 合约禁用弹窗 end -->
<!-- 撤销弹窗 -->
<div class="m-pop" id="pop-chexiaozhengshu">
    <div class="win-pop1">
        <div class="win1-hd">
            <div class="win1-btn">
                <a href="javascript:;" class="close js-close">
                    <i class="el-icon-close"></i>
                </a>
            </div>
            <h3>撤销</h3>
        </div>
        <div class="win1-bd">
            <div class="win1-item">
                <div class="tit">撤销原因:</div>
                <div class="con">
                    <textarea class="textarea-inner" placeholder="请输入撤销原因"></textarea>
                </div>
            </div>
        </div>
        <div class="win-bt">
            <a href="javascript:;" class="primary-btn"><span>提交</span></a>
            <a href="javascript:;" class="js-btn"><span>返回</span></a>
        </div>
    </div>
</div>
<!-- 撤销弹窗 end -->
<!-- 禁用弹窗 -->
<div class="m-pop" id="pop-jinyong">
    <div class="win-pop3">
        <div class="win1-hd">
            <div class="win1-btn">
                <a href="javascript:;" class="close js-close">
                    <i class="el-icon-close"></i>
                </a>
            </div>
            <h3>提示</h3>
        </div>
        <div class="win3-bd">
            <div class="win3-item">
                <div class="icon_dn el-icon-info"></div>
                <div class="desc">
                    <p>您确定要禁用标识吗？</p>
                </div>
            </div>
        </div>
        <div class="win-bt2">
            <a href="javascript:;" class="js-btn"><span>取消</span></a>
            <a href="javascript:;" class="primary-btn"><span>确定</span></a>
        </div>
    </div>
</div>
<!-- 禁用弹窗 end -->
<!-- 启用弹窗 -->
<div class="m-pop" id="pop-qiyong">
    <div class="win-pop3">
        <div class="win1-hd">
            <div class="win1-btn">
                <a href="javascript:;" class="close js-close">
                    <i class="el-icon-close"></i>
                </a>
            </div>
            <h3>提示</h3>
        </div>
        <div class="win3-bd">
            <div class="win3-item">
                <div class="icon_dn el-icon-info"></div>
                <div class="desc">
                    <p>您确定要启用标识吗？</p>
                </div>
            </div>
        </div>
        <div class="win-bt2">
            <a href="javascript:;" class="js-btn"><span>取消</span></a>
            <a href="javascript:;" class="primary-btn"><span>确定</span></a>
        </div>
    </div>
</div>
<!-- 启用弹窗 end -->
<!-- 下载KeyStore -->
<div class="m-pop" id="pop-xiazaiKeyStore">
    <div class="win-pop3">
        <div class="win1-hd">
            <div class="win1-btn">
                <a href="javascript:;" class="close js-close">
                    <i class="el-icon-close"></i>
                </a>
            </div>
            <h3>提示</h3>
        </div>
        <div class="win3-bd">
            <div class="win3-item">
                <div class="tit">请输入创建人的私钥</div>
                <div class="con">
                    <input type="text" class="input-inner" />
                </div>
            </div>
        </div>
        <div class="win-bt2">
            <a href="javascript:;" class="js-btn"><span>取消</span></a>
            <a href="javascript:;" class="primary-btn"><span>确定</span></a>
        </div>
    </div>
</div>
<!-- 下载KeyStore end -->
<!-- 删除 -->
<div class="m-pop" id="pop-shanchu">
    <div class="win-pop3">
        <div class="win1-hd">
            <div class="win1-btn">
                <a href="javascript:;" class="close js-close">
                    <i class="el-icon-close"></i>
                </a>
            </div>
            <h3>提示</h3>
        </div>
        <div class="win3-bd">
            <div class="win3-item">
                <div class="icon_dn el-icon-warning"></div>
                <div class="desc">
                    <p>此操作将永久删除该数据, 是否继续?</p>
                </div>
            </div>
        </div>
        <div class="win-bt2">
            <a href="javascript:;" class="js-btn"><span>取消</span></a>
            <a href="javascript:;" class="primary-btn"><span>确定</span></a>
        </div>
    </div>
</div>
<!-- 删除 end -->
<!-- 删除2 -->
<div class="m-pop" id="pop-shanchu2">
    <div class="win-pop3">
        <div class="win1-hd">
            <div class="win1-btn">
                <a href="javascript:;" class="close js-close">
                    <i class="el-icon-close"></i>
                </a>
            </div>
            <h3>提示</h3>
        </div>
        <div class="win3-bd">
            <div class="win3-item">
                <div class="icon_dn el-icon-info"></div>
                <div class="desc">
                    <p>确定删除选中角色?</p>
                </div>
            </div>
        </div>
        <div class="win-bt2">
            <a href="javascript:;" class="js-btn"><span>取消</span></a>
            <a href="javascript:;" class="primary-btn"><span>确定</span></a>
        </div>
    </div>
</div>
<!-- 删除2 end -->
<!-- 删除3 -->
<div class="m-pop" id="pop-shanchu3">
    <div class="win-pop3">
        <div class="win1-hd">
            <div class="win1-btn">
                <a href="javascript:;" class="close js-close">
                    <i class="el-icon-close"></i>
                </a>
            </div>
            <!-- <h3>提示</h3> -->
        </div>
        <div class="win3-bd">
            <div class="win3-item">
                <div class="icon_dn el-icon-warning"></div>
                <div class="desc">
                    <p>确定将选择数据删除?</p>
                </div>
            </div>
        </div>
        <div class="win-bt2">
            <a href="javascript:;" class="js-btn"><span>取消</span></a>
            <a href="javascript:;" class="primary-btn" onclick="deleteMenu('3')"><span>确定</span></a>
        </div>
    </div>
</div>
<!-- 删除3 end -->
<!-- 删除4 -->
<div class="m-pop" id="pop-shanchu4">
    <div class="win-pop3">
        <div class="win1-hd">
            <div class="win1-btn">
                <a href="javascript:;" class="close js-close">
                    <i class="el-icon-close"></i>
                </a>
            </div>
            <!-- <h3>提示</h3> -->
        </div>
        <div class="win3-bd">
            <div class="win3-item">
                <div class="icon_dn el-icon-warning"></div>
                <div class="desc">
                    <p>确定将选择数据删除?</p>
                </div>
            </div>
        </div>
        <div class="win-bt2">
            <a href="javascript:;" class="js-btn"><span>取消</span></a>
            <a href="javascript:;" class="primary-btn" onclick="deleteMenu('4')"><span>确定</span></a>
        </div>
    </div>
</div>
<!-- 删除4 end -->
<!-- 移至黑名单 -->
<div class="m-pop" id="pop-yizhiheimingdan">
    <div class="win-pop3">
        <div class="win1-hd">
            <div class="win1-btn">
                <a href="javascript:;" class="close js-close">
                    <i class="el-icon-close"></i>
                </a>
            </div>
            <h3>提示</h3>
        </div>
        <div class="win3-bd">
            <div class="win3-item">
                <div class="icon_dn el-icon-warning"></div>
                <div class="desc">
                    <p>确定将该用户移至黑名单吗?</p>
                </div>
            </div>
        </div>
        <div class="win-bt2">
            <a href="javascript:;" class="js-btn"><span>取消</span></a>
            <a href="javascript:;" class="primary-btn"><span>确定</span></a>
        </div>
    </div>
</div>
<!-- 移至黑名单 end -->
<!-- 升至管理员 -->
<div class="m-pop" id="pop-shengzhiguanliyuan">
    <div class="win-pop3">
        <div class="win1-hd">
            <div class="win1-btn">
                <a href="javascript:;" class="close js-close">
                    <i class="el-icon-close"></i>
                </a>
            </div>
            <h3>提示</h3>
        </div>
        <div class="win3-bd">
            <div class="win3-item">
                <div class="icon_dn el-icon-warning"></div>
                <div class="desc">
                    <p>确定将该用户添加至管理员?</p>
                </div>
            </div>
        </div>
        <div class="win-bt2">
            <a href="javascript:;" class="js-btn"><span>取消</span></a>
            <a href="javascript:;" class="primary-btn"><span>确定</span></a>
        </div>
    </div>
</div>
<!-- 升至管理员 end -->
<!-- 移除管理员 -->
<div class="m-pop" id="pop-yichuguanliyuan">
    <div class="win-pop3">
        <div class="win1-hd">
            <div class="win1-btn">
                <a href="javascript:;" class="close js-close">
                    <i class="el-icon-close"></i>
                </a>
            </div>
            <h3>提示</h3>
        </div>
        <div class="win3-bd">
            <div class="win3-item">
                <div class="icon_dn el-icon-info"></div>
                <div class="desc">
                    <p>确定移除该用户管理员?</p>
                </div>
            </div>
        </div>
        <div class="win-bt2">
            <a href="javascript:;" class="js-btn"><span>取消</span></a>
            <a href="javascript:;" class="primary-btn"><span>确定</span></a>
        </div>
    </div>
</div>
<!-- 移除管理员 end -->
<!-- 重置密码 -->
<div class="m-pop" id="pop-chongzhimima">
    <div class="win-pop3">
        <div class="win1-hd">
            <div class="win1-btn">
                <a href="javascript:;" class="close js-close">
                    <i class="el-icon-close"></i>
                </a>
            </div>
            <h3>请输入接收密码的邮箱</h3>
        </div>
        <div class="win3-bd">
            <div class="form-1 form-4">
                <form action="">
                    <div class="form-item col-1">
                        <div class="tit"></div>
                        <div class="con">
                            <input type="text" class="input-inner" placeholder="">
                        </div>
                    </div>
                </form>
            </div>
        </div>
        <div class="win-bt2">
            <a href="javascript:;" class="js-btn"><span>取消</span></a>
            <a href="javascript:;" class="primary-btn"><span>确定</span></a>
        </div>
    </div>
</div>
<!-- 重置密码 end -->
<!-- 钱包解锁弹窗 -->
<div class="m-pop" id="pop-qianbaojiesuo">
    <div class="win-pop2">
        <div class="win1-hd">
            <div class="win1-btn">
                <a href="javascript:;" class="close js-close">
                    <i class="el-dialog__close el-icon el-icon-close"></i>
                </a>
            </div>
            <h3>钱包解锁</h3>
        </div>
        <div class="win1-bd">
            <div class="win2-item">
                <div class="tit">请选择方式：</div>
                <div class="con">
                    <ul class="radio-group js-custom-radio-checkbox" data-modulename="formrel01">
                        <li data-selectName=".item-select1">
                            <label>
                                <input type="radio" name="1" checked />
                                <i class="icon"></i>
                                <span>BID keystore 文件</span>
                            </label>
                        </li>
                        <li data-selectName=".item-select2">
                            <label>
                                <input type="radio" name="1" />
                                <i class="icon"></i>
                                <span>BID私钥</span>
                            </label>
                        </li>
                    </ul>
                </div>
            </div>
            <div class="win2-item item-select1">
                <div class="tit">请选择BID Keystore文件</div>
                <div class="con">
                    <div class="file-upload_box3">
                        <div class="fileUpload-btn3">
                            <label>
                                <input type="file" class="js-upload">
                                <span><i class="icon_dn el-icon-upload e-upload"></i>选择文件</span>
                            </label>
                        </div>
                        <ul class="fileUpload-files">
                            <!-- <li>
                            <a href="javascript:;">
                                <i class="el-icon-document"></i>
                                <span>5cd67b13-740e-4f77-b950-09e47e60881d (1).json</span>
                            </a>
                            <i class="el-icon-close"></i>
                        </li> -->
                        </ul>
                    </div>
                </div>
            </div>
            <div class="win2-item col-1 item-select1">
                <div class="tit">请输入密码：</div>
                <div class="con">
                    <div class="input-suffix">
                        <input type="password" class="input-inner" placeholder="请输入密码" />
                        <div class="icon">
                            <i class="el-input__icon i-changetype el-icon-view"></i>
                            <i class="el-input__icon el-icon-circle-close"></i>
                        </div>
                    </div>
                </div>
            </div>
            <div class="win2-item col-1 item-select2">
                <div class="tit">请输入BID私钥：</div>
                <div class="con">
                    <div class="input-suffix">
                        <input type="password" class="input-inner" placeholder="请输入BID私钥" />
                        <div class="icon">
                            <i class="el-input__icon i-changetype el-icon-view"></i>
                            <i class="el-input__icon el-icon-circle-close"></i>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="win-bt win-bt_center">
            <a href="javascript:;" class="js-btn"><span>取 消</span></a>
            <a href="javascript:;" class="primary-btn"><span>确 定</span></a>
        </div>
    </div>
</div>
<!-- 钱包解锁弹窗 end -->
<!-- 显隐 -->
<div class="m-pop" id="pop-xianyin">
    <div class="win-pop5">
        <div class="win1-hd">
            <div class="win1-btn">
                <a href="javascript:;" class="close js-close">
                    <i class="el-dialog__close el-icon el-icon-close"></i>
                </a>
            </div>
            <h3>多 选</h3>
        </div>
        <div class="win1-bd">
            <ul class="checkbox-group2 js-custom-radio-checkbox" data-modulename="formrel01">
                <li>
                    <label>
                        <input type="checkbox" name="showhide" checked />
                        <i class="icon"></i>
                        <span>菜单名称</span>
                    </label>
                </li>
                <li>
                    <label>
                        <input type="checkbox" name="showhide" checked />
                        <i class="icon"></i>
                        <span>路由地址</span>
                    </label>
                </li>
                <li>
                    <label>
                        <input type="checkbox" name="showhide" checked />
                        <i class="icon"></i>
                        <span>菜单图标</span>
                    </label>
                </li>
                <li>
                    <label>
                        <input type="checkbox" name="showhide" checked />
                        <i class="icon"></i>
                        <span>菜单编号</span>
                    </label>
                </li>
                <li>
                    <label>
                        <input type="checkbox" name="showhide" checked />
                        <i class="icon"></i>
                        <span>菜单别名</span>
                    </label>
                </li>
                <li>
                    <label>
                        <input type="checkbox" name="showhide" checked />
                        <i class="icon"></i>
                        <span>菜单排序</span>
                    </label>
                </li>
            </ul>
        </div>
    </div>
</div>
<!-- 显隐 end -->
<script src="/js/page/menu.js"></script>
<script src="/js/module.js"></script>
<script>

    var tableData = [];
    // 需要删除的列表
    var removeList = [];
    // 编辑的数据
    var editObj = {};
    var type = "";
    // 是否选择全部
    var isSelectedAll=false

    // 刷新
    $('#refresh').click(function(){
        getData()
    })
    // 搜索
    $('#search').click(function () {
        getData()
    })
    // 清空
    $('#reset').click(function () {
        $('#name').val('');
        $('#code').val('');
        $('#alias').val('');
        getData();
    })
    // 新增
    $("[data-href='#pop-caidanguanlixinzeng']").click(function(){
        getMenuTree();
    })
    // 批量删除
    $("#batch_delete").click(function(e){
        removeList=[]
        $("input[name='checkbox']:checked").each(function (index, item) {
            removeList.push(tableData[index]);
        });
    })

    // 图标
    $('.iconfont').click(function(e){
        var classStr = $(e.currentTarget).prop('class')
        $('#source_'+type).val(classStr)
        $('#source_icon_'+type).addClass(classStr)
        $('#pop-caidantubiao').fadeOut("normal");

    })
    function setIcon(currentType){
        type=currentType
    }
    // 选择全部
    function selectAll(){
        if(isSelectedAll){
            $("input[name='checkbox']").each(function(i,item){
                item.checked = false
            })
            isSelectedAll = false
        }else{
            $("input[name='checkbox']").each(function(i,item){
                item.checked = true
            })
            isSelectedAll = true
        }
    }
    // 行checkbox选择
    function selectCheckBox(e){
        if($(e).attr("checked")){
            $(e).attr("checked",false).parent().removeClass("formrel01-chk__checked")
        }else{
            $(e).attr("checked",true).parent().addClass("formrel01-chk__checked")
        }
    }
    // 查看
    function view(index,e){
        getMenuTree()
        var _id = $(e).attr('data-href');
        $(_id).fadeIn("normal");
        $('.pop-bg').addClass('open');
        var detail = tableData[Number(index)]
        getMenuDetail(detail.id,'view')
    }
    //编辑
    function edit(index,e){
        type="edit"
        console.log(e,'this')
        getMenuTree()
        var _id = $(e).attr('data-href');
        $(_id).fadeIn("normal");
        $('.pop-bg').addClass('open');
        var detail = tableData[Number(index)]
        getMenuDetail(detail.id,'edit')
    }
    // 删除
    function deleteBtn(index,e){
        var _id = $(e).attr('data-href');
        $(_id).fadeIn("normal");
        $('.pop-bg').addClass('open');
        removeList=[tableData[Number(index)] ]
    }
    // 新增子项
    function addSub(index,e){
        type="sub"
        getMenuTree()
        var _id = $(e).attr('data-href');
        $(_id).fadeIn("normal");
        $('.pop-bg').addClass('open');
        var detail = tableData[Number(index)]
        $('#parentId_sub').val(detail.id)
        $('#parentName_sub').html(detail.name).parent().parent().addClass('doneTit')

    }

    // 选择上级菜单
    function selectParentMenu(e){
        var type = $(e).parent().attr('id').split("_")[1]
        console.log('parentId',type,e.dataset,'#parentName_'+type)
        $('#parentId_'+type).val(e.dataset.id)
        $('#parentName_add').html(e.dataset.title)

    }

    // 展开或者收起
    function switchTree(e){
        var display=$(e).parent().next().children().css('display')
        if(display==='list-item'){
            $(e).parent().next().children().css('display','none')
            $(e).css("transform",'rotate(0deg)')
        }else{
            $(e).parent().next().children().css('display','list-item')
            $(e).css("transform",'rotate(90deg)')

        }
    }
    // 菜单最终数据 获取子菜单
    var menuList = [];
    function queryChildMenu(id){
        $request({
            url: '/user-manager/userApi/menu/lazy-list?parentId=' + id,
            data: {}
        }, function (res) {
            var lstResult = [];
            var lstData = res;
            console.log(res,'子菜单列表')
            $.each(menuList, function(i, m){
                if(m.parentId == "0"){
                    lstResult.push(m);
                }else if(m.id == id){
                    // 判断是否包含
                    $.each(lstData, function(j, n){
                        var ifHave = 0;
                        $.each(menuList, function(f, o){
                            if(n.id == o.id){
                                ifHave = 1;
                            }
                        })
                        if(ifHave == 0){
                            lstResult.push(0);
                        }
                    })
                }
            })
        });
    }

    // 菜单列表
    var getData = function () {
        var name = $('#name').val();
        var code = $('#code').val();
        var alias = $('#alias').val();
        $request({
            url: '/user-manager/userApi/menu/lazy-list?parentId=0',
            data: {
                name: name,
                code: code,
                alias: alias
            }
        }, function (res) {
            menuList = res;
            tableData = res;
            console.log(res,'菜单返回')
            var template = '';
            var templateLeft="";
            var templateRight="";
            var parentTemplate ="";
            $('#table').children().remove();
            $('#table_left').children().remove();
            $('#table_right').children().remove();

            $.each(tableData, function(i, x){
                x.ison = false
                // console.log(x.id,'传参')
                // queryChildMenu(x.id)
                console.log(x)
                template += "<tr>" +
                    "<td class='table1_hidden'>" +
                    "<div class='checkbox-item'>" +
                    "<label>" + 
                    "<input type='checkbox' name='checkbox' />" +
                    "</label>" +
                    "</div>" +
                    "</td>" +
                    "<td class='table1_center table1_hidden'>"+(i+1)+"</td>" +
                    "<td class='gd'>" +
                    (x.isOpen == 1 ? "<i class='icon-arrow el-icon-arrow-right' onclick='lookchild("+i+")'></i>" : "") + x.name +
                    "</td>" +
                    "<td class='gd'>"+x.path+"</td>" +
                    "<td class='gd'>" +
                    "<div class='cell'><span><div style='text-align: center;'><i class='"+x.source+"'></i></div></span></div>"+
                    "</td>" +
                    "<td class='gd'>"+x.code+"</td>" +
                    "<td class='gd'>"+x.alias+"</td>" +
                    "<td class='gd'>"+x.sort+"</td>" +
                    "<td class='table1_hidden'>" +
                    "<div class='table1-btn'>" +
                    "<a href='javascript:;' class='myfancy' data-href='#pop-caidanguanlichakan'><i class='icon_dn el-icon-view'></i>查看</a>" +
                    "<a href='javascript:;' class='myfancy' data-href='#pop-caidanguanlibianji'><i class='icon_dn el-icon-edit'></i>编辑</a>" +
                    "<a href='javascript:;' class='myfancy' data-href='#pop-shanchu4'><i class='icon_dn el-icon-delete'></i>删除</a>" +
                    "</div>" +
                    "</td>" +
                    "</tr>";
                templateLeft += "<tr>" +
                    "<td>" +
                    "<div class='checkbox-item'>" +
                    "<label>" +
                    "<input type='checkbox' name='checkbox' onclick='selectCheckBox(this)'/>" +
                    "</label>" +
                    "</div>" +
                    "</td>" +
                    "<td class='table1_center'>"+(i+1)+"</td>" +
                    "<td class='table1_hidden'>" +
                    "<i class='icon-arrow el-icon-arrow-right'></i>" + x.name +
                    "</td>" +
                    "<td class='table1_hidden'>"+x.path+"</td>" +
                    "<td class='table1_hidden'>" +
                    "<div class='cell'><span><div style='text-align: center;'><i class="+x.source+"></i></div></span></div>"+
                    "</td>" +
                    "<td class='table1_hidden'>"+x.code+"</td>" +
                    "<td class='table1_hidden'>"+x.alias+"</td>" +
                    "<td class='table1_hidden'>"+x.sort+"</td>" +
                    "<td class='table1_hidden'>" +
                    "<div class='table1-btn'>" +
                    "<a href='javascript:;' class='myfancy' data-href='#pop-caidanguanlichakan'><i class='icon_dn el-icon-view'></i>查看</a>" +
                    "<a href='javascript:;' class='myfancy' data-href='#pop-caidanguanlibianji'><i class='icon_dn el-icon-edit'></i>编辑</a>" +
                    "<a href='javascript:;' class='myfancy' data-href='#pop-shanchu4'><i class='icon_dn el-icon-delete'></i>删除</a>" +
                    "</div>" +
                    "</td>" +
                    "</tr>";
                templateRight += "<tr>" +
                    "<td class='table1_hidden'>" +
                    "<div class='checkbox-item'>" +
                    "<label>" +
                    "<input type='checkbox' name='checkbox' />" +
                    "</label>" +
                    "</div>" +
                    "</td>" +
                    "<td class='table1_center table1_hidden'>"+(i+1)+"</td>" +
                    "<td class='table1_hidden'>" +
                    "<i class='icon-arrow el-icon-arrow-right'></i>" + x.name +
                    "</td>" +
                    "<td class='table1_hidden'>"+x.path+"</td>" +
                    "<td class='table1_hidden'>" +
                    "<div class='cell'><span><div style='text-align: center;'><i class="+x.source+"></i></div></span></div>"+
                    "</td>" +
                    "<td class='table1_hidden'>"+x.code+"</td>" +
                    "<td class='table1_hidden'>"+x.alias+"</td>" +
                    "<td class='table1_hidden'>"+x.sort+"</td>" +
                    "<td>" +
                    "<div class='table1-btn'>" +
                    "<a href='javascript:;' class='myfancy' data-href='#pop-caidanguanlichakan' onclick='view("+i+",this)'><i class='icon_dn el-icon-view'></i>查看</a>" +
                    "<a href='javascript:;' class='myfancy' data-href='#pop-caidanguanlibianji' onclick='edit("+i+",this)'><i class='icon_dn el-icon-edit'></i>编辑</a>" +
                    "<a href='javascript:;' class='myfancy' data-href='#pop-shanchu4' onclick='deleteBtn("+i+",this)'><i class='icon_dn el-icon-delete'></i>删除</a>" +
                    "</div>" +
                    "</td>" +
                    "</tr>";
            });
            $('#table').append(template);
            $('#table_left').append(templateLeft);
            $('#table_right').append(templateRight);

        })

    }
    // 获取菜单树
    function getMenuTree(){
        $request({
            url: '/user-manager/userApi/menu/tree',
            method: 'get',
        }, function(res) {
            var menuTemplate = ''
            if(res.length){
                res.forEach((x,i)=>{
                    menuTemplate += "<li data-id='"+x.id+"' data-title='"+x.title+"'>" +
                        "<div class='title'>" +
                        "<i onclick='switchTree(this)' class='el-icon-caret-right icon-calendar"+(x.hasChildren?' icon-plus-sign':'')+"'></i>" +
                        "<span class='name' >"+x.title+"</span>" +
                        "</div>";
                    if(x.hasChildren){
                        menuTemplate = renderChildren(x.children,menuTemplate)
                    }
                    menuTemplate += "</li>";
                })
            }else{
                menuTemplate += "<div class='none-data'>" +
                    "<p>暂无数据</p>" +
                    "</div>"
            }
            $('#parent_add').children().remove();
            $('#parent_view').children().remove();
            $('#parent_edit').children().remove();
            $('#parent_sub').children().remove();
            $('#parent_add').append(menuTemplate);
            $('#parent_view').append(menuTemplate);
            $('#parent_edit').append(menuTemplate);
            $('#parent_sub').append(menuTemplate);

        })
    }
    function renderChildren(children,template){
        template += "<ul>"
        children.forEach((item)=>{
            template += "<li data-id='"+item.id+"' data-title='"+item.title+"'>" +
                "<div class='title'>" +
                "<i onclick='switchTree(this)' class='el-icon-caret-right icon-calendar"+(item.hasChildren?' icon-plus-sign':'')+"'></i>" +
                "<span class='name' >"+item.title+"</span>" +
                "</div>" +
                "</li>"
            if(item.hasChildren){
                renderChildren(item.children,template)
            }
        })
        template += "</ul>";
        return template
    }
    // 新增/修改菜单
    function submitForm(type){
        var name = $("#name_"+type).val();
        var path = $("#path_"+type).val();
        var parentId = $("#parentId_"+type).val();
        var source = $("#source_"+type).val();
        var code = $("#code_"+type).val();
        var category = $("input[name='category_"+type+"']:checked").val();
        var alias = $("#alias_"+type).val();
        var sort = $("#sort_"+type).val();
        const remark = $("#remark_"+type).val();

        console.log("parentId",parentId)

        var params={
            name,
            path,
            parentId,
            source,
            code,
            category,
            alias,
            sort,
            remark
        }
        if(type==='edit'){
            params={
                ...editObj,
                ...params
            }
        }
        $request({
            url: '/user-manager/userApi/menu/submit',
            method: 'post',
            data:JSON.stringify({...params}),
        },function(e){
            editObj = {}
            if(type==="edit"){
                $("#pop-caidanguanlibianji").fadeOut("normal");
            }else if(type==="add"){
                $("#pop-caidanguanlixinzeng").fadeOut("normal");
            }else{
                $("#pop-caidanguanlixinzengzixiang").fadeOut("normal");
            }
            $('.pop-bg').removeClass('open');
            getData()

            const name = $("#name_"+type).val('');
            const path = $("#path_"+type).val('');
            const parentId = $("#parentId_"+type).val('');
            const source = $("#source_"+type).val('');
            const code = $("#code_"+type).val('');
            const category = $("input[name='category_"+type+"'][value=1]").attr("checked",true);
            const alias = $("#alias_"+type).val('');
            const sort = $("#sort_"+type).val('');
            const remark = $("#remark_"+type).val('');
        })
    }
    // 删除菜单
    function deleteMenu(num){
        const ids = removeList.map((item)=>item.id).join()
        $request({
            url: '/user-manager/userApi/menu/remove',
            method: 'post',
            data: {
                ids
            },
            contentType: 'application/x-www-form-urlencoded'
        },function(e){
            $("#pop-shanchu"+num).fadeOut("normal");
            $('.pop-bg').removeClass('open');
            getData()
        })
    }
    // 获取菜单详情
    function getMenuDetail(id,type){
        $('#name_'+type).val('')
        $('#path_'+type).val('')
        $('#parentId_'+type).val('')
        $('#parentName_'+type).html('选择上级菜单').parent().parent().removeClass('doneTit')
        $('#source_'+type).val('')
        $('#source_icon_'+type).addClass('')
        $('#code_'+type).val('')
        $('#alias_'+type).val('')
        $('#sort_'+type).val('')
        $('#remark_'+type).val('')
        $("input[name='category_"+type+"][value=1]").attr("checked",true);
        $request({
            url: '/user-manager/userApi/menu/detail',
            method: 'get',
            data:{
                id
            }
        }, function(res) {
            $('#name_'+type).val(res.name)
            $('#path_'+type).val(res.path)
            $('#parentId_'+type).val(res.parentId)
            $('#parentName_'+type).html(res.parentName).parent().parent().addClass('doneTit')
            $('#source_'+type).val(res.source)
            $('#source_icon_'+type).addClass(res.source)
            $('#code_'+type).val(res.code)
            $('#alias_'+type).val(res.alias)
            $('#sort_'+type).val(res.sort)
            $('#remark_'+type).val(res.remark)
            $("input[name='category_"+type+"][value="+res.category+"]").attr("checked",true);
            if(type==='edit'){
                editObj = {
                    action:res.action,
                    id:res.id,
                    isDeleted:res.isDeleted,
                    isOpen:res.isOpen
                }
            }
        })
    }
    // 查看子菜单
    function lookchild (x) {
        console.log(x,'触发了')
    }
    // 显隐设置
    $("input[name='showhide']").each(function(index,item){
        $(this).on("click",function(){
            // console.log($(this).prop("checked"),'属性')
            index2 = Number(index+2) // th的下标
            if($(this).prop("checked")){
                // $("tr td").eq(index).show()
                // console.log($(".table1-head table thead tr th").eq(index2).length)
                $(".table1-head table thead tr th").eq(index2).show()
                $(".table1-body table tbody tr").each(function(i,j){
                    $(".table1-body table tbody tr").eq(i).find("td").eq(index2).show()
                })
                // $(".table1-body table tbody tr td").eq(index2).show()
            } else {
                // $("tr td").eq(index).hide()
                // $(".table1-head table thead tr th").eq(index2).hide()
                // $(".table1-body table tbody tr td").eq(index2).hide()
                $(".table1-head table thead tr th").eq(index2).hide()
                $(".table1-body table tbody tr").each(function(i,j){
                    $(".table1-body table tbody tr").eq(i).find("td").eq(index2).hide()
                })
            }
        })
    })
    // 页面初始化
    getData()

</script>
</body>

</html>